package com.yenlien.traceyun.usercenter.entity;

import com.yenlien.traceyun.webase.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 部门菜单关系表
 *
 * @author master yi
 */

@Entity
@Table(name = "t_department_resource")
public class DepartmentResource extends BaseEntity {

    @Column(name = "department_id", length = 32)
    private String departmentId;

    //资源id
    @Column(name = "resource_id")
    private String resourceId;

    //appId
    @Column(name = "app_id")
    private String appId;

    public String getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }

    public String getResourceId() {
        return resourceId;
    }

    public void setResourceId(String resourceId) {
        this.resourceId = resourceId;
    }

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }
}
